#######################
# Makefile
#######################

# compile and lib parameter
CC      := g++
LIBS    := 
LDFLAGS := 
DEFINES :=
INCLUDE := -I/home/wuhlan3/Desktop/mpi/matrixmul.h
CFLAGS  := 
CXXFLAGS:= 

# link parameter
LIB := libmatrixmul.so

#link
$(LIB):matrixmul.o
	$(CC) -shared -o -fPIC -o $@ $^

#compile
matrixmul.o:matrixmul.cpp
	$(CC) -c -fPIC $^ -o $@ 

# clean
clean:
	rm -fr *.o
	rm -fr $(TARGET)